package xyz.molzhao.alink.service;

import org.springframework.web.multipart.MultipartFile;
import xyz.molzhao.alink.domain.StorageContext;

import java.util.List;

/**
 * @author Molzhao
 * @Description: 文件存储服务类
 * @date 2022/2/20 15:19
 */
public interface IStorageService {
    String upload(StorageContext context);

    boolean checkFileExists(String filePath);

    boolean delete(String filePath);

    void checkSize(List<MultipartFile> multipartFileList);
}
